﻿<%@ Page Language="C#" MasterPageFile="~/IPMSMasterPage.master" AutoEventWireup="true" 
CodeFile="OptProductAdd.aspx.cs" Inherits="OptProductAdd"  title="Project Monitoring System" 
culture="auto:en-US" uiculture="auto" maintainscrollpositiononpostback="true" meta:resourcekey="PageResource1"  %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server" Visible="false">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">

<div style="margin-left:10px;margin-right:10px;">
<%-- <fieldset style=" width:930px;">--%>
<asp:Panel ID="PanelDetail" runat="server" Width="100%"  meta:resourcekey="PanelDetailResource1">
<div>
<table width="100%">
    <tr>
        <td align="center" width="70%">
            <asp:Label ID="lblError" runat="server" ForeColor="Red" Width="100%" CssClass="error" ></asp:Label>
        </td>
        <td align="right" width="10%"></td>
    </tr>
</table>

<asp:Panel ID="PanelGeneral" runat="server" meta:resourcekey="PanelGeneralResource1">
<fieldset>
    <legend>
        <asp:Label ID="lblGeneral" runat="server" Text="General Information" meta:resourcekey="lblGeneralResource1"></asp:Label>
    </legend>
    <table>
        <tr>
            <td style="vertical-align: middle; text-align: right;" colspan="1">
                <asp:Label ID="lblModel" runat="server" meta:resourcekey="lblModel" Text="Model"
                    Width="100%"></asp:Label>
            </td>
            <td style="vertical-align: middle; text-align: left;" colspan="1">
                <asp:TextBox ID="txtModel" runat="server" CssClass="required" meta:resourcekey="txtModelResource1"
                    MaxLength="30"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                        runat="server" ControlToValidate="txtModel" Display="Dynamic" ErrorMessage="Model is required."
                        meta:resourcekey="RequiredFieldValidator1Resource1" Width="107px"></asp:RequiredFieldValidator></td>
            <td style="vertical-align: middle; text-align: right;" colspan="1">
                <asp:Label ID="lblRevision" runat="server" meta:resourcekey="lblRevision" Text="Revision"
                    Width="100%"></asp:Label>
            </td>
            <td style="vertical-align: middle; text-align: left;" colspan="1">
                <asp:TextBox ID="txtRevision" runat="server" CssClass="required"
                    meta:resourcekey="txtModelResource1" MaxLength="30"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtRevision" Display="Dynamic"
                        ErrorMessage="Revision is required." meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="vertical-align: middle; text-align: right;">
                <asp:Label ID="lblModelName" runat="server" meta:resourcekey="lblModelName" Text="Model Name"
                    Width="100%"></asp:Label>
            </td>
            <td style="vertical-align: middle; text-align: left;" colspan="4">
                <asp:TextBox ID="txtModelName" runat="server" Width="472px" CssClass="required"
                    meta:resourcekey="txtModelNameResource1" MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtModelName"
                        Display="Dynamic" ErrorMessage="Model Name is required." meta:resourcekey="RequiredFieldValidator2Resource1"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="vertical-align: middle; text-align: right;">
                <asp:Label ID="lblSpecification" runat="server" meta:resourcekey="lblSpecification"
                    Text="Specification" Width="100%"></asp:Label>
            </td>
            <td style="vertical-align: middle; text-align: left;" colspan="4">
                <asp:TextBox ID="txtSpecification" runat="server" Width="472px" CssClass="required"
                    meta:resourcekey="txtSpecificationResource1" MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSpecification"
                        Display="Dynamic" ErrorMessage="Specification is required." meta:resourcekey="RequiredFieldValidator3Resource1"></asp:RequiredFieldValidator></td>
        </tr>
<%--        <tr>
            <td style="vertical-align: middle; text-align: right;">
                <asp:Label ID="lblCreateDate" runat="server" meta:resourcekey="lblCreateDate" Text="Create Date"
                    Width="100%"></asp:Label>
            </td>
            <td style="vertical-align: middle; text-align: left;" colspan="4">
                <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtCreateDate" Format="yyyy-MM-dd"
                    Enabled="True">
                </cc1:CalendarExtender>
                <asp:TextBox ID="txtCreateDate" runat="server" CssClass="required" Width="100px"
                    meta:resourcekey="txtCreateDateResource1"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtCreateDate"
                        Display="Dynamic" ErrorMessage="Create Date is required." meta:resourcekey="RequiredFieldValidator4Resource1"></asp:RequiredFieldValidator></td>
        </tr>--%>
    </table>
</fieldset></asp:Panel>
<asp:Panel ID="PanelMisc" runat="server" meta:resourcekey="PanelMiscResource1">
<fieldset>
    <legend>
        <asp:Label ID="lblMisc" runat="server" Text="Miscellaneous Information" meta:resourcekey="lblMiscResource1"></asp:Label>
    </legend>
    <table>
        <tr>
            <td style="vertical-align: top; text-align: right;">
            </td>
        </tr>
        <tr>
            <td style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblCharInfo" runat="server" Font-Bold="True" Text="Character Fields :"
                    meta:resourcekey="lblCharInfoResource1" Width="100%"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblRemarks1" runat="server" Text="Remarks 1" Width="100%" meta:resourcekey="lblRemarks1Resource1"></asp:Label></td>
            <td colspan="3" style="vertical-align: bottom; text-align: left;">
                <asp:TextBox ID="txtRemarks1" runat="server" Width="462px" MaxLength="100" meta:resourcekey="txtRemarks1Resource1"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblRemarks2" runat="server" Text="Remarks 2" Width="100%" meta:resourcekey="lblRemarks2Resource1"></asp:Label></td>
            <td colspan="3" style="vertical-align: bottom; text-align: left;">
                <asp:TextBox ID="txtRemarks2" runat="server" Width="462px" MaxLength="100" meta:resourcekey="txtRemarks2Resource1"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblRemarks3" runat="server" Text="Remarks 3" Width="100%" meta:resourcekey="lblRemarks3Resource1"></asp:Label></td>
            <td colspan="3" style="vertical-align: bottom; text-align: left;">
                <asp:TextBox ID="txtRemarks3" runat="server" Width="462px" MaxLength="100" meta:resourcekey="txtRemarks3Resource1"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblRemarks4" runat="server" Text="Remarks 4" Width="100%" meta:resourcekey="lblRemarks4Resource1"></asp:Label></td>
            <td colspan="3" style="vertical-align: bottom; text-align: left;">
                <asp:TextBox ID="txtRemarks4" runat="server" Width="462px" MaxLength="100" meta:resourcekey="txtRemarks4Resource1"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblRemarks5" runat="server" Text="Remarks 5" Width="100%" meta:resourcekey="lblRemarks5Resource1"></asp:Label></td>
            <td colspan="3" style="vertical-align: bottom; text-align: left;">
                <asp:TextBox ID="txtRemarks5" runat="server" Width="462px" MaxLength="100" meta:resourcekey="txtRemarks5Resource1"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="2" style="vertical-align: middle; text-align: left;">
                <asp:Label ID="lblDataInfo" runat="server" Font-Bold="True" Text="Date Fields :"
                    meta:resourcekey="lblDataInfoResource1"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblDate1" runat="server" Text="Date 1" Width="100%" meta:resourcekey="lblDate1Resource1"></asp:Label></td>
            <td colspan="1" style="vertical-align: bottom; text-align: left;">
                <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtDate1"
                    Enabled="True" Format="yyyy-MM-dd">
                </cc1:CalendarExtender>
                <asp:TextBox ID="txtDate1" runat="server" Width="102px" meta:resourcekey="txtDate1Resource1"></asp:TextBox></td>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblDate2" runat="server" Text="Date 2" Width="100%" meta:resourcekey="lblDate2Resource1"></asp:Label></td>
            <td colspan="1" style="vertical-align: middle; text-align: left">
                <cc1:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtDate2"
                    Enabled="True" Format="yyyy-MM-dd">
                </cc1:CalendarExtender>
                <asp:TextBox ID="txtDate2" runat="server" Width="102px" meta:resourcekey="txtDate2Resource1"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblDate3" runat="server" Text="Date 3" Width="100%" meta:resourcekey="lblDate3Resource1"></asp:Label></td>
            <td colspan="1" style="vertical-align: bottom; text-align: left;">
                <cc1:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="txtDate3"
                    Enabled="True" Format="yyyy-MM-dd">
                </cc1:CalendarExtender>
                <asp:TextBox ID="txtDate3" runat="server" Width="102px" meta:resourcekey="txtDate3Resource1"></asp:TextBox></td>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblDate4" runat="server" Text="Date 4" Width="100%" meta:resourcekey="lblDate4Resource1"></asp:Label></td>
            <td colspan="1" style="vertical-align: middle; text-align: left">
                <cc1:CalendarExtender ID="CalendarExtender5" runat="server" TargetControlID="txtDate4"
                    Enabled="True" Format="yyyy-MM-dd">
                </cc1:CalendarExtender>
                <asp:TextBox ID="txtDate4" runat="server" Width="102px" meta:resourcekey="txtDate4Resource1"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblDate5" runat="server" Text="Date 5" Width="100%" meta:resourcekey="lblDate5Resource1"></asp:Label></td>
            <td colspan="1" style="vertical-align: bottom; text-align: left;">
                <cc1:CalendarExtender ID="CalendarExtender6" runat="server" TargetControlID="txtDate5"
                    Enabled="True" Format="yyyy-MM-dd">
                </cc1:CalendarExtender>
                <asp:TextBox ID="txtDate5" runat="server" Width="102px" meta:resourcekey="txtDate5Resource1"></asp:TextBox></td>
            <td colspan="1" style="vertical-align: top; text-align: right">
            </td>
            <td colspan="1" style="vertical-align: middle; text-align: left">
            </td>
        </tr>
        <tr>
            <td colspan="2" style="vertical-align: middle; text-align: left;">
                <asp:Label ID="lblDecimalInfo" runat="server" Font-Bold="True" Text="Decimal Fields :"
                    meta:resourcekey="lblDecimalInfoResource1"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblDeci1" runat="server" Text="Decimal 1" Width="100%" meta:resourcekey="lblDeci1Resource1"></asp:Label></td>
            <td colspan="1" style="vertical-align: bottom; text-align: left;">
                <cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="txtDeci1"
                    MaskType="Number" Mask="9,999,999.99" InputDirection="RightToLeft" AcceptNegative="Left"
                    DisplayMoney="Left" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
                    CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder=""
                    CultureTimePlaceholder="" Enabled="True">
                </cc1:MaskedEditExtender>
                <asp:TextBox ID="txtDeci1" runat="server" Width="102px" meta:resourcekey="txtDeci1Resource1"></asp:TextBox></td>
            <td colspan="1" style="vertical-align: top; text-align: right;">
                <asp:Label ID="lblDeci2" runat="server" Text="Decimal 2" Width="100%" meta:resourcekey="lblDeci2Resource1"></asp:Label></td>
            <td colspan="1" style="vertical-align: middle; text-align: left">
                <cc1:MaskedEditExtender ID="MaskedEditExtender2" runat="server" TargetControlID="txtDeci2"
                    MaskType="Number" Mask="9,999,999.99" InputDirection="RightToLeft" AcceptNegative="Left"
                    DisplayMoney="Left" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder=""
                    CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder=""
                    CultureTimePlaceholder="" Enabled="True">
                </cc1:MaskedEditExtender>
                <asp:TextBox ID="txtDeci2" runat="server" Width="102px" meta:resourcekey="txtDeci2Resource1"></asp:TextBox></td>
        </tr>
    </table>
</fieldset></asp:Panel>
<br />
<asp:Panel ID="PanelButton" runat="server">
<table>
    <tr>
        <td align="center">
            <asp:Button ID="btnSave" runat="server" CssClass="submit" OnClick="btnSave_Click" meta:resourcekey="btnSave" Text="Save" />
            <asp:Button ID="btnCancel" runat="server" CausesValidation="False" 
                CssClass="reset" meta:resourcekey="btnCancel" Text="Cancel" 
                onclick="btnCancel_Click" />
            <asp:Button ID="btnBack" runat="server" CausesValidation="false" CssClass="reset" meta:resourcekey="btnBackResource1" Text="Back" OnClick="btnBack_Click" />
        </td>
    </tr>
</table>
</asp:Panel>
</div>
&nbsp;
</asp:Panel>
</div>
</asp:Content>

